package com.shop.domain;

import java.util.Date;

import com.shop.enumeration.MessageStatusEnum;

/**
 * 
 * @author wenjuanhenxing
 * @version V1.0 MessageCenter.java 2016-2-9 上午11:41:01
 */
public class MessageCenter {
	private Long id;

	/** 发信人id */
	private Long sender;

	/** 收信人 */
	private Long receiver;

	/** 消息发送时间 */
	private Date createTime;

	/** 消息内容 */
	private String content;

	/**
	 * 阅读状态
	 * 
	 * @see MessageStatusEnum
	 */
	private int status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getSender() {
		return sender;
	}

	public void setSender(Long sender) {
		this.sender = sender;
	}

	public Long getReceiver() {
		return receiver;
	}

	public void setReceiver(Long receiver) {
		this.receiver = receiver;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
